package cc.wfu.trigger.api.dto;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Email;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 用户注册 - 入参
 * @Date: 2024-05-16-10:45
 */
@Data
public class RegisterRequest {

    /** 用户邮箱 */
    @Email(message = "请输入正确的邮箱")
    private String email;

    /** 验证码 */
    private String code;

    /** 用户密码 */
    private String password;
}
